package cn.wolfcode.service;

import cn.wolfcode.domain.Permission;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
    List<Permission> selectALL();

    PageInfo<Permission> list(QueryObject qo);

    void reload();

    List selectByroleId(Long roleId);

    List<Permission> selectByPermission(Long empId);
}
